package com.pair.micro.fee.modules.charge.convert;

import com.pair.micro.fee.modules.charge.entity.RoomOwnerEntity;
import com.pair.micro.fee.modules.charge.vo.RoomOwnerVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业主信息管理
 *
 * @author xubz
 *
 */
@Mapper
public interface RoomOwnerConvert {
    RoomOwnerConvert INSTANCE = Mappers.getMapper(RoomOwnerConvert.class);

    RoomOwnerEntity convert(RoomOwnerVO vo);

    RoomOwnerVO convert(RoomOwnerEntity entity);

    List<RoomOwnerVO> convertList(List<RoomOwnerEntity> list);

}